package com.heima.article.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.article.dtos.ArticleHomeDTO;
import com.heima.model.article.pojos.ApArticle;
import com.heima.model.common.dtos.ResponseResult;

public interface ApArticleService extends IService<ApArticle> {

    //文章发布功能
    public void publishArticle(Integer newsId);

    ////app端文章列表功能
    ResponseResult load(Short loadtypeLoadNew, ArticleHomeDTO dto);

    //根据参数加载文章列表
    public ResponseResult load2(Short loadtypeLoadMore, ArticleHomeDTO dto,boolean firstPage);
}